/*************************************************************************
	> File Name: ipckernel.h
	> Author: 
	> Mail: 
	> Created Time: 2022年01月29日 星期六 17时46分25秒
 ************************************************************************/

#ifndef _IPCKERNEL_H
#define _IPCKERNEL_H
#include "wmark_dev.h"
typedef struct
{
	int dev_fd;
	int buf_fd;
	unsigned long buf_len;
} ipc_dev_info_t;

int open_ipc_dev(ipc_dev_info_t *dev_info);
int dev_send_fd(ipc_dev_info_t *dev_info);
int dev_receive_fd(ipc_dev_info_t *dev_info);
int close_ipc_dev(ipc_dev_info_t *dev_info);
int dev_send_fds(ipc_dev_info_t *dev_info, wmark_dev_ioctl_t *msg);
int dev_receive_fds(ipc_dev_info_t *dev_info ,wmark_dev_ioctl_t *msg);
#endif
